package zkrt.cc.fishelevatorservice.filter.token;


import org.springframework.stereotype.Component;

@Component
public class TokenContext {

    private String currentToken;

    public String getCurrentToken() {
        // 这里可以从缓存、数据库或者其他数据源获取 token
        return this.currentToken;
    }

    private boolean isTokenExpired() {
        // 判断 token 是否过期的逻辑
        return false;
    }



    public void setCurrentToken(String s) {
        this.currentToken = s;
    }
}
